import Vue from "vue";
import 'default-passive-events';
import ElementUI from "element-ui";
// import "element-ui/lib/theme-chalk/index.css";
import "./assets/styles/public.css";
import "./assets/styles/element-variables.scss";
import "./assets/icons/iconfont.css";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./plugins/element.js";
import * as echarts from 'echarts';
import "./utils/mock/test.js";
import moment from "moment";
moment.locale('zh-cn');
import global from "./utils/global";
import { currentRole } from "./utils/auth";
Vue.use(ElementUI);
Vue.use(global);
Vue.prototype.$echarts = echarts;
Vue.prototype.$moment = moment;
Vue.prototype.$currentRole = currentRole;

Vue.config.productionTip = false;

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount("#app");
